A runtime variable is a term used in programming languages for a value that is calculated or placed at the time the program executes. Runtime variable is also used interchangeably with dynamic variable (the opposite of a static variable). For example, a program could be coded so that it checked the available disk space on a personal computer and wrote that information to variable X. Variable X would contain no value until the program executed, and assigned a value to X.